package com.dcy1;

import com.dcy1.controller.UserInfoController;
import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;

public class Starter {
    public static void main(String[] args) {

        ApplicationContext applicationContext=new ClassPathXmlApplicationContext("spring03.xml");
        UserInfoController userInfoController = (UserInfoController) applicationContext.getBean("userInfoController");
        System.out.println(userInfoController.userLogin("","123456"));
    }
}
